<?php
require('includes/connect.php');
$question = $_POST["question"];		
$ans = $_POST["ans"];
//$strDate = date('M j, Y');
//$struid = $_SESSION['uid'];
$sql="INSERT INTO help(`help_ques`,`help_ans`,`addeddate`) VALUES ('$question', '$ans', sysdate())";
$result=mysql_query($sql);
 if($result)
 {
header("location:addhelp.php");
 }
 else
 {
	 echo mysql_error();
 }

ob_flush();
?>
 